package com.byx.chatserver.service;

import com.byx.chatserver.dto.LoginDto;
import com.byx.chatserver.entity.Friend;
import com.byx.chatserver.entity.SimpleFriend;
import com.byx.chatserver.entity.User;
import com.byx.chatserver.vo.LoginVo;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * IUserService
 *
 * @author Superb
 * @date 2021/2/7 21:08
 */
@Service
public interface IUserService {

    /**
     * 登录
     * @param loginVo
     * @return
     */
    LoginDto loginByVo(LoginVo loginVo);

    String registerByTel(String tel, String password, INumberPoolService numberPoolService);

    String registerByEmail(String email, String password, Long timestamp, INumberPoolService numberPoolService);

    String queryEmailByLoginId(String loginId);

    boolean changePasswordByEmail(String email,String password);
}
